package com.cloud.api.foreign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.cloud.model.GameRoom;
import com.cloud.model.PlayUserClient;

import reactor.core.publisher.Mono;

//@FeignClient(value = "room",configuration = FeignConfiguration.class)
@FeignClient(value = "room")
public interface IRoomService {
  @RequestMapping(value = "/roomapi/room/aquire", method = RequestMethod.POST)
  public Mono<GameRoom> aquire(@RequestBody PlayUserClient playUserClient);
}
